﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.IO;

namespace FileClient
{
    class ClientModel
    {
        public void start()
        {

            //Thread listen = new Thread(new ThreadStart(connections.senddata));
            //listen.Name = "Send Data";
            //listen.Start();
        }

        public void sendfile()
        {
            Protocol.Instance.SendFile("D:\\Send\\", "putty.exe");
        }

        public void Login()
        {
            Protocol.Instance.Login("test" , "test");
        }

        public void connect(string domain)
        {
            Network.Instance.connect(domain);
        }

        public void disconnect()
        {
            Network.Instance.disconnect();
        }

        

        
    }
}
